package org.example.comsumer;

import org.example.framework.ProxyFactory;
import org.example.provider.api.HelloService;

/**
 * @author shenguangyang
 */
public class Comsumer {
    public static void main(String[] args) {
        HelloService helloServiceProxy = ProxyFactory.getProxy(HelloService.class);
        String result = helloServiceProxy.sayHello("哈哈");
        System.out.println("result: " + result);
    }
}
